package com.niodata.dp.monitor.sharelib.entity.file;

public enum ScheduleTimeUnit {

  YEARLY("每年", 365 * 24 * 60 * 60),
  MONTHLY("每月", 30 * 24 * 60 * 60),
  DAILY("每天", 24 * 60 * 60),
  HOURLY("每小时", 60 * 60);

  private String msg;
  private int seconds;

  ScheduleTimeUnit(String msg, int seconds) {
    this.msg = msg;
    this.seconds = seconds;
  }

  public String getMsg() {
    return msg;
  }

  public int getSeconds() {
    return seconds;
  }
}
